You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TDenseMtxVec Class > TDenseMtxVec Methods > CumSum Method > TDenseMtxVec.CumSum Method ([In] TMtxVec, int, int, int)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TDenseMtxVec.CumSum Method ([In] TMtxVec, int, int, int)

Calculate the cumulative sum for Vec elements [VecIndex]..[VecIndex+Len-1].

Syntax
C#
Visual Basic
public TMtxVec CumSum([In] TMtxVec Vec, int VecIndex, int Index, int Len);

Store the results in calling object elements [Index]..[Index+Len-1]. Size and TMtxVec.Complex properties of the calling object must be set explicitly. Exception is raised if TMtxVecBase.ConditionCheckConditionCheckproperty is True and array borders are overrun.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!